class Navigator

  def initialize(base_url)
    @base_url = base_url
  end

  def goto(relative_url, b)
    url = File.join @base_url, relative_url
    b.goto url
  end

end